package com.tfjybj.itoo.teach.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dmsdbj.itoo.tool.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * RoomTime实体
 * 教室占用情况表（备注：暂时用于教学管理服务排课测试，待确认）
 *
 * @author 田成荣 
 * @version 2.0.0
 * @since 2.0.0 2018-11-09 15:23:51
 */
@ApiModel(value = "RoomTimeEntity:教室占用情况表（备注：暂时用于教学管理服务排课测试，待确认）")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("tt_room_time")
public class RoomTimeEntity extends BaseEntity implements Serializable {

	/**
	 * 房间id
	 */
	@ApiModelProperty(value = "房间id",required = true)
	@Column(name = "room_id")
	private String roomId;

	/**
	 * 星期
	 */
    @ApiModelProperty(value = "星期")
	@Column(name = "week")
	private String week;

	/**
	 * 节次id
	 */
	@ApiModelProperty(value = "节次id",required = true)
	@Column(name = "cell_time_id")
	private String cellTimeId;

	/**
	 * 教师id
	 */
	@ApiModelProperty(value = "教师id",required = true)
	@Column(name = "teacher_id")
	private String teacherId;

	/**
	 * 上课班id
	 */
	@ApiModelProperty(value = "上课班id",required = true)
	@Column(name = "teach_class_id")
	private String teachClassId;

	/**
	 * 容量
	 */
    @ApiModelProperty(value = "容量")
	@Column(name = "capacity")
	private Integer capacity;

	/**
	 * 校区
	 */
    @ApiModelProperty(value = "校区")
	@Column(name = "school_branch")
	private String schoolBranch;

	/**
	 * 教学楼ID
	 */
	@ApiModelProperty(value = "教学楼ID",required = true)
	@Column(name = "building_id")
	private String buildingId;

	/**
	 * 教学楼名称
	 */
    @ApiModelProperty(value = "教学楼名称")
	@Column(name = "building_name")
	private String buildingName;

	/**
	 * 教室名称
	 */
    @ApiModelProperty(value = "教室名称")
	@Column(name = "room_name")
	private String roomName;

	/**
	 * 节次名称
	 */
    @ApiModelProperty(value = "节次名称")
	@Column(name = "cell_time_name")
	private String cellTimeName;


}
